import { post } from '@/utils/request'
import type { DebugResponse } from '@/models/app'
export const debugApp = (appId: string, query: string) => {
  return post<DebugResponse>(`/app/${appId}/debug`, {
    body: { query },
  })
}
